package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.shoop.ISpOrderService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpOrder;
import com.tb.v1.mapper.SpOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @author: tangBin
 * @Date: 2020/7/29 0029 10:03
 * @Description:
 */
@Service
public class SpOrderService extends BaseServiceImpl<SpOrder> implements ISpOrderService {
    @Autowired
    private SpOrderMapper spOrderMapper;
    @Override
    public IBaseDao<SpOrder> getBaseDao() {
        return spOrderMapper;
    }

    @Override
    public List<SpOrder> getOrderList(Map map) {
        return spOrderMapper.getOrderList(map);
    }

    @Override
    public Integer getOrderListCount(Map map) {
        return spOrderMapper.getOrderListCount(map);
    }
}
